package com.psl.action.delete;

import com.psl.services.work.finishProductServices;
import org.apache.struts2.ServletActionContext;

import javax.servlet.http.HttpServletRequest;

public class delproc_finishproduct {
    public String execute() {
        HttpServletRequest request = ServletActionContext.getRequest();
        int h_id = Integer.parseInt(request.getParameter("h_id"));
        finishProductServices hps = new finishProductServices();
        hps.delproc(h_id);
        hps.Allprint();
        return "success";
    }
}
